package com.example.administrator.zyfypt412lmy;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class LoginActivity extends AppCompatActivity implements View.OnClickListener{
    private Button btnLog,btnReg;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        init();
    }
    private void init() {
        btnLog=(Button)findViewById(R.id.button_log);
        btnReg=(Button)findViewById(R.id.button_reg);
        btnReg.setOnClickListener(this);
        btnLog.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.button:


        }
    }
}
